<!DOCTYPE html>
<html>
<head>
    <title>小明和我的美好时刻</title>
    <style>
        .image-container {
            column-count: 4;  /* 控制列数 */
            column-gap: 1px; /* 控制列之间的间隔 */
            margin: 1px;
        }

        .image-container img {
            width: 100%;
            margin-bottom: 0px;
        }
    </style>
</head>
<body>
    <div class="image-container">
        {% for filename in filenames %}
            <img src="{{ url_for('static', path=filename) }}" alt="{{ filename }}">
        {% endfor %}
    </div>
</body>
</html>
